import './index.less';

interface IProps {
  leftActions?: JSX.Element;
  rightActions?: JSX.Element;
}

export default function ToolBar(props: IProps) {
  const { leftActions, rightActions } = props;

  return (
    <div className="task-tool-bar">
      <div className="task-tool-bar__left-actions">{leftActions}</div>
      <div className="task-tool-bar__content">{rightActions}</div>
    </div>
  );
}
